package org.totoro.concurrent.juc.lock.synchronizeds;

/**
 * 普通同步方法，锁是当前实例对象,对象头信息信息查看
 *
 * @author daocr
 * @date 2019-06-06
 * @see org.totoro.concurrent.juc.UnsafeTest
 */
public class SynchronizedMethodTest {

    public static void main(String[] args) {
        Item item = new Item();
    }


    public static class Item {
        public synchronized void test() {

        }
    }
}
